class TpshopLoginApi:
    @classmethod
    def verify_api(cls, session):
        resp = session.get(url='http://192.168.174.134/index.php?m=Home&c=User&a=verify')
        return resp

    @classmethod
    def login_api(cls, session, login_data):
        resp = session.post(url='http://192.168.174.134/index.php?m=Home&c=User&a=do_login',
                            headers={"Content-Type": "application/x-www-form-urlencoded"},
                            data=login_data)
        return resp
